package com.zxjbyte.yiyi.extension.job.service;


import com.zxjbyte.yiyi.extension.job.domain.entity.QuartzJobPO;
import com.zxjbyte.yiyi.framework.common.domain.api.PageResult;
import com.zxjbyte.yiyi.framework.mybatis.service.BaseServiceX;
import com.zxjbyte.yiyi.extension.job.domain.param.QJobAddParam;
import com.zxjbyte.yiyi.extension.job.domain.param.QJobPageParam;
import com.zxjbyte.yiyi.extension.job.domain.param.QJobUpdateParam;
import com.zxjbyte.yiyi.extension.job.domain.vo.QJobPageVO;

/**
 * @Author zhangxingjia
 * @Date 2023/8/23 17:35
 * @Version: 1.0
 */
public interface QuartzJobService extends BaseServiceX<QuartzJobPO> {

    void add(QJobAddParam param);

    PageResult<QJobPageVO> list(QJobPageParam param);

    void updateJob(QJobUpdateParam param);

    void delete(String name, String group);

    void pauseJob(String name, String group);

    void resumeJob(String name, String group);
}
